Design Center V1 API - Module Google::Cloud::DesignCenter::V1::DesignCenter::Paths (v0.1.0)

Reference documentation and code samples for the Design Center V1 API module Google::Cloud::DesignCenter::V1::DesignCenter::Paths.

Path helper methods for the DesignCenter API.

Methods

#application_path

def application_path(project:, location:, space:, application:) -> ::String

Create a fully-qualified Application resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/applications/{application}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • application (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#application_template_path

def application_template_path(project:, location:, space:, application_template:) -> ::String

Create a fully-qualified ApplicationTemplate resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • application_template (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#application_template_revision_path

def application_template_revision_path(project:, location:, space:, application_template:, revision:) -> ::String

Create a fully-qualified ApplicationTemplateRevision resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • application_template (String)
  • revision (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#application_template_system_revision_path

def application_template_system_revision_path(project:, location:, space:, application_template:, system_revision:) -> ::String

Create a fully-qualified ApplicationTemplateSystemRevision resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/systemRevisions/{system_revision}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • application_template (String)
  • system_revision (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#catalog_path

def catalog_path(project:, location:, space:, catalog:) -> ::String

Create a fully-qualified Catalog resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/catalogs/{catalog}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • catalog (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#catalog_template_path

def catalog_template_path(project:, location:, space:, catalog:, catalog_template:) -> ::String

Create a fully-qualified CatalogTemplate resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/catalogs/{catalog}/templates/{catalog_template}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • catalog (String)
  • catalog_template (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#catalog_template_revision_path

def catalog_template_revision_path(project:, location:, space:, catalog:, catalog_template:, revision:) -> ::String

Create a fully-qualified CatalogTemplateRevision resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/catalogs/{catalog}/templates/{catalog_template}/revisions/{revision}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • catalog (String)
  • catalog_template (String)
  • revision (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#cloud_control_path

def cloud_control_path(organization:, location:, cloud_control:) -> ::String
def cloud_control_path(project:, location:, cloud_control:) -> ::String

Create a fully-qualified CloudControl resource string.

Overloads
def cloud_control_path(organization:, location:, cloud_control:) -> ::String
The resource will be in the following format:

organizations/{organization}/locations/{location}/cloudControls/{cloud_control}

Parameters
  • organization (String)
  • location (String)
  • cloud_control (String)
def cloud_control_path(project:, location:, cloud_control:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/cloudControls/{cloud_control}

Parameters
  • project (String)
  • location (String)
  • cloud_control (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#component_path

def component_path(project:, location:, space:, application_template:, component:) -> ::String

Create a fully-qualified Component resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • application_template (String)
  • component (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#connection_path

def connection_path(project:, location:, space:, application_template:, component:, connection:) -> ::String

Create a fully-qualified Connection resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/components/{component}/connections/{connection}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • application_template (String)
  • component (String)
  • connection (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)
def git_repository_link_path(project:, location:, connection:, git_repository_link:) -> ::String

Create a fully-qualified GitRepositoryLink resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}

Parameters
  • project (String)
  • location (String)
  • connection (String)
  • git_repository_link (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#policy_path

def policy_path(project:, location:, space:, application_template:, policy:) -> ::String

Create a fully-qualified Policy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/policies/{policy}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • application_template (String)
  • policy (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#role_path

def role_path(organization:, role:) -> ::String
def role_path(project:, role:) -> ::String
def role_path(role:) -> ::String

Create a fully-qualified Role resource string.

Overloads
def role_path(organization:, role:) -> ::String
The resource will be in the following format:

organizations/{organization}/roles/{role}

Parameters
  • organization (String)
  • role (String)
def role_path(project:, role:) -> ::String
The resource will be in the following format:

projects/{project}/roles/{role}

Parameters
  • project (String)
  • role (String)
def role_path(role:) -> ::String
The resource will be in the following format:

roles/{role}

Parameter
  • role (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#share_path

def share_path(project:, location:, space:, catalog:, share:) -> ::String

Create a fully-qualified Share resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/catalogs/{catalog}/shares/{share}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • catalog (String)
  • share (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#shared_template_path

def shared_template_path(project:, location:, space:, shared_template:) -> ::String

Create a fully-qualified SharedTemplate resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/sharedTemplates/{shared_template}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • shared_template (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#shared_template_revision_path

def shared_template_revision_path(project:, location:, space:, shared_template:, revision:) -> ::String

Create a fully-qualified SharedTemplateRevision resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}/sharedTemplates/{shared_template}/revisions/{revision}

Parameters
  • project (String)
  • location (String)
  • space (String)
  • shared_template (String)
  • revision (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#space_path

def space_path(project:, location:, space:) -> ::String

Create a fully-qualified Space resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/spaces/{space}

Parameters
  • project (String)
  • location (String)
  • space (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)