sourcerepo

class pulumi_gcp.sourcerepo.Repository(resource_name, opts=None, name=None, project=None, __name__=None, __opts__=None)

For more information, see the official documentation and API

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • name (pulumi.Input[str]) – The name of the repository that will be created.
  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
name = None

The name of the repository that will be created.

project = None

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

size = None

The size of the repository.

url = None

The url to clone the repository.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str